package o;

import android.graphics.drawable.Drawable;
import android.widget.TextView;
import com.huawei.skinner.annotation.SkinAdapter;
import com.huawei.support.widget.HwAlphaIndexerListView;

public class fky {
    @SkinAdapter("hwPopupBgColor")
    public static void ˊ(HwAlphaIndexerListView hwAlphaIndexerListView, int i) {
        Drawable popupWindowBgDrawable = hwAlphaIndexerListView.getPopupWindowBgDrawable();
        fmt.ˏ(HwAlphaIndexerListView.class, hwAlphaIndexerListView, "mPopupBgColor", Integer.valueOf(i));
        if (popupWindowBgDrawable != null) {
            gg.ॱ(gg.ʻ(popupWindowBgDrawable), i);
        }
    }

    @SkinAdapter("hwPopupTextColor")
    public static void ॱ(HwAlphaIndexerListView hwAlphaIndexerListView, int i) {
        hwAlphaIndexerListView.setPopupTextColor(i);
        Object ˎ = fmt.ˎ(HwAlphaIndexerListView.class, hwAlphaIndexerListView, "mPopupText");
        if (ˎ != null && (ˎ instanceof TextView)) {
            ((TextView) ˎ).setTextColor(i);
        }
    }

    @SkinAdapter("hwInactiveAlphaColor")
    public static void ˋ(HwAlphaIndexerListView hwAlphaIndexerListView, int i) {
        hwAlphaIndexerListView.setInactiveAlphaColor(i);
        hwAlphaIndexerListView.postInvalidate();
    }

    @SkinAdapter("hwSelectedAlphaColor")
    public static void ˏ(HwAlphaIndexerListView hwAlphaIndexerListView, int i) {
        hwAlphaIndexerListView.setSelectedAlphaColor(i);
        hwAlphaIndexerListView.postInvalidate();
    }
}
